<?php
// +----------------------------------------------------------------------
// | INPHP
// | Copyright (c) https://inphp.cc All rights reserved.
// | 该文件源码由INPHP官方提供，使用协议以INPHP官方公告为准。
// +----------------------------------------------------------------------
// | 分类模板标签
// +----------------------------------------------------------------------
namespace app\cms\tags;

use app\cms\http\api\category;

class categories extends aTag
{
    public static function process(array $params = []): array
    {
        $params = self::initParams($params);
        return (new category())->list($params);
    }
}